package cn.edu.xust.api.controller;

import cn.edu.xust.service.SysLogininfoService;
import cn.edu.xust.util.PageUtils;
import cn.edu.xust.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


/**
 * 
 *
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2022-08-03 15:22:57
 */
@RestController
@RequestMapping("/api/syslogininfo")
public class ApiSysLogininfoController {
    @Autowired
    private SysLogininfoService sysLogininfoService;

    /**
     * 列表
     */
    @PostMapping("/list")
    public R list(@RequestParam Map<String, Object> params){
        PageUtils page = sysLogininfoService.queryPage(params);

        return R.ok().put("page", page);
    }



}
